<?php
header('content-type:text/html;charset=utf-8');

date_default_timezone_set('prc');



$old = strtotime('-1 day');
echo date('Y-m-d',$old);